
import { closeAppPage, getAPPUserInfo, openAppBuyLink, openAppLoginPage } from '../entities/app'

export class AppModel {
  // 获取APP用户信息
  async getAPPUserInfo() {
    return await getAPPUserInfo()
  }
  // 打开APP购买链接
  async openAppBuyLink(params) {
    return await openAppBuyLink(params)
  }
  // 打开APP登录页
  async openAppLoginPage() {
    return await openAppLoginPage()
  }
  // 关闭页面
  async closeAppPage() {
    return await closeAppPage()
  }
}